//
//  DocMainWindow.h
//  Personal Passlock
//
//  Created by 杨岑 on 5/12/15.
//  Copyright (c) 2015 杨岑. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "DocumentVC.h"
#import "ColoredView.h"
#import "CategoryDataSource.h"


@interface DocumentWC : NSWindowController<NSSplitViewDelegate>
@property NSURL* docURL;
@property (weak) IBOutlet DocumentVC *documentVC;
@property (weak) IBOutlet NSView *documentPane;
@property (weak) IBOutlet NSTableView *itemsTableView;
@property (weak) IBOutlet ColoredView *actionsView;
@property (weak) IBOutlet NSTableView *categoryTableView;
@property (strong) IBOutlet CategoryDataSource *categoryDataSource;
@property (weak) IBOutlet NSView *categoryPane;
@property (weak) IBOutlet NSSplitView *splitView;
@property (weak) IBOutlet NSView *editorView;

@end
